<html>
<head>
<title>
Myplan
</title>
<style type="text/css">
body { background-color: #BCD1DC; }
#register{
position:absolute;
top:150px;
left:500px;
}
</style>
</head>

<body>
<div id="register">
<?php 
	if(isset($success)){
		echo $success;
		?>
		<a href="<?php echo $login; ?>">去登录！</a>
		<?php
	}
	
	if(isset($warning)){
		echo $warning;
	}
?>
<h1><span style="color:#2963F8">M</span><span style="color:#E11931">y</span><span style="color:#F8A307">p</span><span style="color:#2963F8">l</span><span style="color:#019311">a</span><span style="color:#E11931">n</span></h1>
<form action="<?php echo $action; ?>" method="post" enctype="multiple/form-data">
<table>
<tr><td>
<label>昵称</label>
<input type="text" name="nickname" /></td>
</tr><tr><td>
<label>账号</label>
<input type="text" name="account" /></td>
</tr><tr><td>
<label>密码</label>
<input type="password" name="password" /></td>
</tr><tr><td>
<label>重复密码</label>
<input type="password" name="repassword" /></td>
</tr><tr><td>
<input type="submit" value="注册" /></td>
</tr>
</table>
</from>
<a href="<?php echo $login; ?>">有账号了？去登录！</a>
</div>
</body></html>